<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        html,
        body {
            height: 100%;
            overflow: hidden;
        }

        @-webkit-keyframes wateranimate {
            0% {
                -webkit-transform: scale(0);
                opacity: 0.5;
            }

            100% {
                -webkit-transform: scale(1.5);
                opacity: 0;
            }
        }

        @keyframes wateranimate {
            0% {
                -webkit-transform: scale(0);
                transform: scale(0);
                opacity: 0.5;
            }

            100% {
                -webkit-transform: scale(1.5);
                transform: scale(1.5);
                opacity: 0;
            }
        }

        .container {
            position: relative;
            margin: 50px auto;
            border: 1px solid yellow;
            background-color: red;
        }

        .water1 {
            animation: wateranimate 2s 2s ease-out infinite;
        }

        .water2 {
            animation: wateranimate 2s 2.2s ease-out infinite;
        }


        .water1,
        .water2 {
            width: 24px;
            height: 24px;
            border: 1px solid rgba(255, 255, 255, 0.70);
            box-shadow: inset 0 0 26px 0 #FFFFFF;
            border-radius: 50%;
            opacity: 0;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="water1"></div>
        <div class="water2"></div>
    </div>
</body>

</html>